import java.util.ArrayList;
import java.util.List;

/**
 * Created by haol on 2017/4/8.
 */
public class Dep {
        private int id;
        private String name;
        private int pid;
        private List<Dep> dep = new ArrayList<Dep>();


        public List<Dep> getDep() {
                return dep;
        }

        public void setDep(List<Dep> dep) {
                this.dep = dep;
        }

        public Dep(int id, String name, int pid) {
                this.id = id;
                this.name = name;
                this.pid = pid;
        }

        public int getPid() {
                return pid;
        }

        public void setPid(int pid) {
                this.pid = pid;
        }

        public String getName() {
                return name;
        }

        public void setName(String name) {
                this.name = name;
        }

        public int getId() {
                return id;
        }

        public void setId(int id) {
                this.id = id;
        }
}

